/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights
 * reserved. <a>http://www.cqcis.com</a>
 */
package com.cqcis.uip.base.framework.core.cluster;

import java.util.Collection;

/**
 * 激活集群
 * 
 * @author huangmy
 * @date   2009-1-5
 */
public interface ActiveClusterService {
	/**
	 * 激活
	 * 
	 */
    public void active();
    
    /**
     * 激活指定
     * 
     * @param id
     */
    public void active(long id);
    
    /**
     * stubs
     * 
     * @return
     */
    public Collection<ClusterStub> getStubs();
    
    /**
     * 删除
     * 
     * @param id
     */
    public void remove(String constrainKey);
}
